package org.cug.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.cug.pojo.GraduateProject;


import java.util.List;
//本科生毕业设计mapper映射文件
@Mapper
public interface GraduationProjectMapper {
    List<GraduateProject> list(List<Integer> ids);

    void insert(GraduateProject graduateProject);

    void delete(List<Integer> ids);

    GraduateProject select(Integer id);

    void update(GraduateProject graduateProject);

    @Select("select * from graduation_project")
    List<GraduateProject> listAll();
}
